<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>项目主页</title>
    <!-- 引入 Tailwind CSS -->
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <!-- 引入 Font Awesome 图标库 -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #f8f9fa;
        }
        .carousel-item img {
            height: 50vh;
            object-fit: cover;
        }
        .feature-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
        }
    </style>
</head>
<body class="min-h-screen bg-gray-100 flex flex-col items-center">

<!-- 导航栏 -->
<nav class="bg-white shadow-lg w-full">
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
        <div class="flex justify-between h-16">
            <div class="flex">
                <div class="flex-shrink-0 flex items-center">
                    <a href="#" class="text-2xl font-bold text-gray-900">项目名称</a>
                </div>
                <div class="hidden md:block">
                    <div class="ml-10 flex items-baseline space-x-4">
                        <a href="#features" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">功能介绍</a>
                        <a href="#contact" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">联系我们</a>
                    </div>
                </div>
            </div>
            <div class="-mr-2 flex md:hidden">
                <button class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white" aria-expanded="false">
                    <span class="sr-only">Open main menu</span>
                    <svg class="block h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7" />
                    </svg>
                    <svg class="hidden h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
                    </svg>
                </button>
            </div>
            <div class="hidden md:block">
                <div class="ml-4 flex items-center">
                    <a href="./login.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">登录</a>
                    <a href="./register_verify.html" class="ml-3 text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">注册</a>
                </div>
            </div>
        </div>
    </div>
</nav>

<!-- 轮播图 -->
<div id="carouselExampleIndicators" class="carousel slide relative" data-bs-ride="carousel">
    <ol class="carousel-indicators absolute right-0 bottom-0 left-0 flex justify-center p-0 mb-4">
        <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></li>
        <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></li>
        <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></li>
    </ol>
    <div class="carousel-inner relative w-full overflow-hidden">
        <div class="carousel-item active float-left w-full">
            <img src="https://via.placeholder.com/1920x1080?text=幻灯片+1" class="block w-full" alt="...">
        </div>
        <div class="carousel-item float-left w-full">
            <img src="https://via.placeholder.com/1920x1080?text=幻灯片+2" class="block w-full" alt="...">
        </div>
        <div class="carousel-item float-left w-full">
            <img src="https://via.placeholder.com/1920x1080?text=幻灯片+3" class="block w-full" alt="...">
        </div>
    </div>
    <button class="carousel-control-prev absolute top-0 bottom-0 flex items-center justify-center p-0 text-center border-0 hover:outline-none hover:no-underline focus:outline-none focus:no-underline left-0" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
        <span class="carousel-control-prev-icon inline-block bg-no-repeat" aria-hidden="true"></span>
        <span class="visually-hidden">Previous</span>
    </button>
    <button class="carousel-control-next absolute top-0 bottom-0 flex items-center justify-center p-0 text-center border-0 hover:outline-none hover:no-underline focus:outline-none focus:no-underline right-0" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
        <span class="carousel-control-next-icon inline-block bg-no-repeat" aria-hidden="true"></span>
        <span class="visually-hidden">Next</span>
    </button>
</div>

<!-- 功能介绍 -->
<section id="features" class="py-12">
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
        <h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">主要功能</h2>
        <p class="mt-4 max-w-3xl text-xl text-gray-500 lg:mx-auto">我们的项目提供了多种强大的功能，帮助您轻松完成各种任务。</p>
        <div class="mt-12 grid grid-cols-1 gap-y-12 sm:grid-cols-2 sm:gap-x-6 lg:grid-cols-4 lg:gap-x-8">
            <div>
                <div class="feature-icon text-blue-600"><i class="fas fa-chart-bar"></i></div>
                <h3 class="text-lg font-medium text-gray-900">数据分析</h3>
                <p class="mt-2 text-base text-gray-500">通过先进的算法分析您的数据，提供有价值的见解。</p>
            </div>
            <div>
                <div class="feature-icon text-green-600"><i class="fas fa-code"></i></div>
                <h3 class="text-lg font-medium text-gray-900">代码管理</h3>
                <p class="mt-2 text-base text-gray-500">高效地管理和协作编写代码，提高开发效率。</p>
            </div>
            <div>
                <div class="feature-icon text-purple-600"><i class="fas fa-users"></i></div>
                <h3 class="text-lg font-medium text-gray-900">团队协作</h3>
                <p class="mt-2 text-base text-gray-500">支持多用户协作，方便团队成员之间的沟通与合作。</p>
            </div>
            <div>
                <div class="feature-icon text-red-600"><i class="fas fa-cog"></i></div>
                <h3 class="text-lg font-medium text-gray-900">系统设置</h3>
                <p class="mt-2 text-base text-gray-500">灵活的系统设置选项，满足不同用户的个性化需求。</p>
            </div>
        </div>
    </div>
</section>

<!-- 联系我们 -->
<section id="contact" class="py-12 bg-gray-100">
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
        <h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">联系我们</h2>
        <p class="mt-4 max-w-3xl text-xl text-gray-500 lg:mx-auto">如果您有任何问题或建议，请随时联系我们。</p>
        <form class="mt-12 space-y-6" action="#" method="POST">
            <div>
                <label for="name" class="block text-sm font-medium text-gray-700">姓名</label>
                <input type="text" name="name" id="name" autocomplete="name" required class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
            </div>
            <div>
                <label for="email" class="block text-sm font-medium text-gray-700">邮箱</label>
                <input type="email" name="email" id="email" autocomplete="email" required class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
            </div>
            <div>
                <label for="message" class="block text-sm font-medium text-gray-700">消息</label>
                <textarea id="message" name="message" rows="4" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"></textarea>
            </div>
            <div>
                <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline flex items-center justify-center space-x-2">
                    <i class="fas fa-paper-plane"></i>
                    <span>发送消息</span>
                </button>
            </div>
        </form>
    </div>
</section>

<!-- 引入 Bootstrap JS 和依赖 -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js"></script>
</body>
</html>